﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_LivestockType
    {
        D_LivestockType dal = new D_LivestockType();
        public static B_LivestockType CreateInstance()
        {
            return new B_LivestockType();
        }
        public bool CreateOneLivestockType(LivestockType_Info LivestockType_Info)
        {

            return dal.CreateOneLivestockType(LivestockType_Info);
        }
        public bool EditOneLivestockType(LivestockType_Info LivestockType_Info)
        {

            return dal.EditOneLivestockType(LivestockType_Info);
        }
        public bool RemoveOneLivestockType(int LivestockTypeID)
        {

            return dal.RemoveOneLivestockType(LivestockTypeID);
        }
        public DataTable GetAllLivestockType()
        {
            
            return dal.GetAllLivestockType();
        }
        public LivestockType_Info GetOneLivestockType(int LivestockTypeID)
        {
            
            return dal.GetOneLivestockType(LivestockTypeID);
        }
    }
}
